.class public Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;
.super Lcom/esfile/screen/recorder/videos/edit/player/b;
.source "VideoEditPreviewController.java"


# instance fields
.field private d:Landroid/widget/ImageView;

.field private e:Landroid/widget/SeekBar;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/ImageView;

.field private i:Landroid/widget/TextView;

.field private j:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/player/b;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method


# virtual methods
.method protected a()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method protected b()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/controller/a;->a:Landroid/content/Context;

    sget v1, Les/y4;->durec_video_edit_preview_controller_layout:I

    invoke-static {v0, v1, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    .line 2
    sget v0, Les/x4;->media_controller_back:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->h:Landroid/widget/ImageView;

    .line 3
    sget v0, Les/x4;->media_controller_save:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->i:Landroid/widget/TextView;

    .line 4
    sget v0, Les/x4;->media_controller_pause:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->d:Landroid/widget/ImageView;

    .line 5
    sget v0, Les/x4;->media_controller_progress:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->e:Landroid/widget/SeekBar;

    .line 6
    sget v0, Les/x4;->media_controller_cur_time:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->f:Landroid/widget/TextView;

    .line 7
    sget v0, Les/x4;->media_controller_total_time:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->g:Landroid/widget/TextView;

    .line 8
    sget v0, Les/x4;->media_controller_info:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->j:Landroid/widget/ImageView;

    return-void
.end method

.method protected getBackButton()Landroid/widget/ImageView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->h:Landroid/widget/ImageView;

    return-object v0
.end method

.method protected getInfoButton()Landroid/widget/ImageView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->j:Landroid/widget/ImageView;

    return-object v0
.end method

.method protected getPauseButton()Landroid/widget/ImageView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->d:Landroid/widget/ImageView;

    return-object v0
.end method

.method protected getPlayTimeTextView()Landroid/widget/TextView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->f:Landroid/widget/TextView;

    return-object v0
.end method

.method protected getProgressSeekBar()Landroid/widget/SeekBar;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->e:Landroid/widget/SeekBar;

    return-object v0
.end method

.method protected getSaveButton()Landroid/widget/TextView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->i:Landroid/widget/TextView;

    return-object v0
.end method

.method protected getTotalTimeTextView()Landroid/widget/TextView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->g:Landroid/widget/TextView;

    return-object v0
.end method

.method public setPlayState(Z)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/preview/VideoEditPreviewController;->d:Landroid/widget/ImageView;

    if-eqz p1, :cond_0

    sget p1, Les/w4;->durec_media_controller_pause_selector:I

    goto :goto_0

    :cond_0
    sget p1, Les/w4;->durec_media_controller_play_selector:I

    :goto_0
    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageResource(I)V

    return-void
.end method
